package com.chat.room.common;

import com.chat.room.bean.ChatUserInfo;

import java.util.List;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class ServiceConstant {

    public static final ThreadPoolExecutor THREAD_POOL_EXECUTOR = new ThreadPoolExecutor(50, 200, 60, TimeUnit.MINUTES, new ArrayBlockingQueue<Runnable>(200));

    public static final List<ChatUserInfo> CHAT_USER_INFO_LIST = new CopyOnWriteArrayList<>();
}